d/rules: use pkg-info.mk and do Maintainer parsing in d/rules
authorMaximilian Engelhardt <maxi@daemonizer.de>
Thu, 26 Jan 2023 21:06:50 +0000 (22:06 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Wed, 1 Feb 2023 23:13:49 +0000 (00:13 +0100)
commit2421d30550cdf0185fbb61e2f97907a627efb885
tree3151dd425365a277ef7745dfb3742dd13884d6cc
parentb92a5f37f9fd86a17f673adba9bc0e347265bc3d
d/rules: use pkg-info.mk and do Maintainer parsing in d/rules

Use DEB_VERSION and DEB_VERSION_UPSTREAM from
/usr/share/dpkg/pkg-info.mk as suggested by lintian. This fixes
'debian-rules-parses-dpkg-parsechangelog' in the lintian output.

Also move parsing of the Maintainer field in debian/control from our
delta queue to debian/rules and use the newly available DEB_VERSION in
the delta queue.

Signed-off-by: Maximilian Engelhardt <maxi@daemonizer.de>
debian/rules